
<?php

include "../model/Apn.php";
include "../dao/ApnDAO.php";

$apn = new Apn();

$apn->setApn($_POST['apn']);
$apn->setApnUser($_POST['user']);
$apn->setApnPass($_POST['pass']);

$apndao = new apnDAO();
$apndao->insert($apn);
?>